package com.zfh.iterator;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Student {

	private String id;
	private String name;
	private Date birthday;
	private Double score;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public Double getScore() {
		return score;
	}
	public void setScore(Double score) {
		this.score = score;
	}
	public Student(String id, String name, Date birthday, Double score) {
		super();
		this.id = id;
		this.name = name;
		this.birthday = birthday;
		this.score = score;
	}
	@Override
	public String toString() {
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy年MM月dd日");
		return "学生信息Student [id=" + id + ", name=" + name + ", birthday=" + sdf.format(birthday) + ", score=" + score + "]";
	}
	
	
}
